package com.iims.flowable.flow.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author fanpei
 * @date 2021/6/27 22:52
 */
@ApiModel("回退节点请求")
@Data
public class TaskBackRequest {

    @ApiModelProperty(value = "任务Id", required = true)
    @NotBlank(message = "任务Id不能为空")
    private String taskId;

    @ApiModelProperty(value = "流程节点Id", required = true)
    @NotBlank(message = "流程节点Id不能为空")
    private String activityId;

    @ApiModelProperty(value = "节点名称", required = true)
    @NotBlank(message = "节点名称不能为空")
    private String ActivityNodeName;

    @ApiModelProperty(value = "处理意见内容")
    private String message;
}
